package com.youkeda.comment.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties(UserProperties.class)
@ConditionalOnProperty(prefix = "user.code",value = "enabled",matchIfMissing = true)
public class UserConfig {

}
